/*
   Copyright (C) 2016 Cuckoo Foundation.
   This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
   see the file 'docs/LICENSE' for copying permission.
 */

 // external 3rd party imports
 @import "bourbon"; // <== sass utility framework
 @import "font-awesome"; // <== icon kit
 @import "roboto"; // <== application-wide font

// import variables and mixins files [exposed globally]
@import "variables";
@import "mixins";

// general css on the body and the html
html { background: #1c1c1c; }
body {
	padding-top: 50px;
}

body {
	font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* note to self: this is very hacky and I need to pick this up later */
body[id^="analysis"] { padding-top: 50px; }
body[id^="submission/"] { padding-top: 50px; }

// hides the footer when it needs to be hidden
// mostly pages are excluded that have not really been updated yet.
body[id="submission/pre"],
body[id="submission/index"],
body[id="submission/post"],
body[id^="analysis"]:not([id="analysis.views.pending"]):not([id="analysis.views.search"]):not([id="analysis/recent"]):not([id="analysis/import"]) {
	footer:not(.flex-grid__footer),
	#footer-extra {
		display: none;
	}
}

body#analysis {
	overflow: hidden;
}

// layout utils
@import "layout/typography";
@import "layout/app";
@import "layout/badges";

// components
@import "components/app-nav";
@import "components/tooltip";
@import "components/buttons";
@import "components/tree";
@import "components/analysis-sidebar";
@import "components/flex-navigation";
@import "components/table";
@import "components/cuckoo-analysis";
@import "components/network-http-request";
@import "components/dndupload";
@import "components/nav";
@import "components/navbar";
@import "components/cuckoo-nav";
@import "components/panel";
@import "components/tcp";
@import "components/page-error";
@import "components/recent-analysis";
@import "components/loading";
@import "components/cuckoo-box";
@import "components/errors";
@import "components/footer";
@import "components/network-display";
@import "components/flex-tabs";
@import "components/flex-grid";
@import "components/cuckoo-filetree";
@import "components/flex-form";
@import "components/process-tree";
@import "components/breadcrumbs";
@import "components/page-freeze";
@import "components/dashboard";
@import "components/application-message";
@import "components/list-panel";

// custom plugin css overrides
@import "plugins/jstree";
@import "plugins/data-tables";

// responsive at last - responsive code OVERRIDES defaults always
@import "layout/responsive";

// imports all the themes
@import "themes/cyborg";
@import "themes/night";
